package com.JZ.QM.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.JZ.QM.common.utils.PageUtils;
import com.JZ.QM.common.entity.ProductLibraryIncomeEntity;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 
 *
 * @author lyp
 * @email lyp@gmail.com
 * @date 2020-06-14 11:19:35
 */
public interface ProductLibraryIncomeService extends IService<ProductLibraryIncomeEntity> {
    /**
     * 分页查询
     * @param params
     * @return
     * @throws Exception
     */
    PageUtils queryPage(Map<String, Object> params) throws Exception;

    /**
     * 获取昨日收盘价
     * @param proIncomeTsCode
     * @return
     */
    BigDecimal getPrice(String proIncomeTsCode);
}

